﻿{% extends "base.html" %}

{% block scripts %}
{% endblock %}

{% block content %}
    <h1>Настройки</h1>

    <div class="settings_block settings_block_alerts">

        <ul class="tabs_list settings_tabs">
            <li class="item"><a href="/settings/private/">Личное</a><span class="bg"></span></li>
            <li class="item item_current"><a href="/settings/notify/">Оповещения</a><span class="bg"></span></li>
            <!--<li class="item"><a href="/settings/security/">Приватность</a><span class="bg"></span></li>-->
            <li class="item"><a href="/settings/main/">Важное</a><span class="bg"></span></li>
        </ul>

        <form class="form" action="#" method="post">

            <table class="settings_alerts_table">
                <thead>
                <tr>
                    <th></th>
                    <!--<th>sms</th>-->
                    <th>e-mail</th>
                </tr>
                </thead>

                <tbody>
                <tr>
                    <th>Приглашения в друзья</th>
                    <td><input name="notify_friends" id="id_notify_friends" class="checkbox" type="checkbox"
                            {% if ns.notify_friends %}checked="checked"{% endif %}></td>

                </tr>
                <tr>
                    <th>Предложения компаний (ответ на заявку)</th>
                    <td><input name="notify_order_response" id="id_notify_order_response" class="checkbox" type="checkbox"
                            {% if ns.notify_order_response %}checked="checked"{% endif %}></td>

                </tr>
                <tr>
                    <th>Добавление новых компаний</th>
                    <td><input name="notify_new_companies" id="id_notify_new_companies" class="checkbox" type="checkbox"
                            {% if ns.notify_new_companies %}checked="checked"{% endif %}></td>

                </tr>
                <tr>
                    <th>Комментарии на личной странице</th>
                    <td><input name="notify_wall_comments" id="id_notify_wall_comments" class="checkbox" type="checkbox"
                            {% if ns.notify_wall_comments %}checked="checked"{% endif %}></td>

                </tr>

                </tbody>
            </table>

            <div class="buttons"><input class="button" type="submit" value="Сохранить"></div>
        </form>

    </div>
{% endblock %}